﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing.plaf.basic.icon {
    import flash.display.*;
    import org.aswing.*;
    import flash.filters.*;
    import org.aswing.graphics.*;

    public class RadioButtonMenuItemCheckIcon extends MenuCheckIcon {

        private var shape:Shape;

        public function RadioButtonMenuItemCheckIcon(){
            this.shape = new Shape();
        }
        override public function updateIcon(_arg1:Component, _arg2:Graphics2D, _arg3:int, _arg4:int):void{
            this.shape.graphics.clear();
            _arg2 = new Graphics2D(this.shape.graphics);
            var _local5:AbstractButton = AbstractButton(_arg1);
            if (_local5.isSelected()){
                _arg2.fillCircle(new SolidBrush(_arg1.getMideground()), (_arg3 + 4), (_arg4 + 5), 3);
            };
            this.shape.filters = [new BevelFilter(1, 80, 0, 0, 0xFFFFFF, 1, 1, 1, 1, 1, BitmapFilterType.OUTER)];
        }
        override public function getDisplay(_arg1:Component):DisplayObject{
            return (this.shape);
        }

    }
}//package org.aswing.plaf.basic.icon 
